package com.gjs.cd.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.gjs.common.enums.entity.QuarterEnum;
import com.gjs.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author zhongwenguang
 * @date 2022-3-10 17:32
 */
@Getter
@Setter
@ApiModel(value = "CdCodeValidTerm对象", description = "光盘激活码有效期配置表")
public class CdCodeValidTerm extends BaseEntity {

    @ApiModelProperty("年份")
    @TableField("code_year")
    private int codeYear;


    @ApiModelProperty("季度")
    @TableField("code_quarter")
    private QuarterEnum codeQuarter;

    @ApiModelProperty("过期时间")
    @TableField("expire_time")
    private LocalDateTime expireTime;

}
